package com.huike.clues.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huike.clues.domain.TbActivity;
import com.huike.clues.domain.dto.ActivityUpdateDTO;
import com.huike.clues.domain.dto.TbActivityAddDTO;
import com.huike.clues.domain.dto.TbActivityPageDto;
import com.huike.clues.domain.vo.ActivityEchoVo;

import java.time.LocalDate;
import java.util.List;

/**
* @author 93238
* @description 针对表【tb_activity(活动管理)】的数据库操作Service
* @createDate 2023-10-12 06:35:46
*/
public interface TbActivityService extends IService<TbActivity> {

    void insertActivity(TbActivityAddDTO tbActivityAddDTO);


    Page<TbActivity> findActivityList(TbActivityPageDto tbActivityPageDto, LocalDate beginCreateTime, LocalDate endCreate, LocalDate beginTime, LocalDate endTime);

    ActivityEchoVo findActivityById(Long id);

    void updateActivity(ActivityUpdateDTO activityUpdateDTO);

    void deleteActivity(List<Long> ids);

    List<ActivityEchoVo> activityListSelect(String channel);
}
